<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->

<div class="user2-bg">
    <div class="container-fluid">
        <!-- /.row -->
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout tlr-form-first-offset">
                    <div class="tlr-reg-label">姓名</div>
                    <div style="padding-left:10px;float:left;">
                        <input type="text" class="form-control tlr-login-input tlr-form-control" ng-model="user.name">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">工号</div>
                    <div style="padding-left:10px;float:left;padding-top:20px;font-size:14px !important;">
                        <span>{{user.employeeid}}</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">职位</div>
                    <div style="padding-left:10px;float:left;padding-top:20px;font-size:14px !important;">
                        <span>{{EMP.types[user.employeetype].name}}</span>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">手机</div>
                    <div style="padding-left:10px;float:left;">
                        <input type="text" class="form-control tlr-login-input tlr-form-control" ng-model="user.tel">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">性別</div>
                    <div style="padding-left:10px;float:left;">
                        <table>
                            <tbody>
                                <tr>
                                    <td>
                                        <div class="tlr-reg-label">
                                            <input type="radio" name="regisger_sex" id="optionsRadios" value="0"  ng-model="user.sex">男
                                        </div>
                                    </td>
                                    <td>
                                        <div class="tlr-reg-label">
                                            <input type="radio" name="regisger_sex" id="optionsRadios" value="1"  ng-model="user.sex">女
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">生日</div>
                    <div style="padding-left:10px;float:left;">
                        <input id="dob_id" type="text" placeholder="年-月-日" maxlength="10" class="form-control tlr-login-input tlr-form-control" ng-model="user.dob">
                        <script type="text/javascript">
                                    $("#dob_id").datetimepicker({
                                        language: "zh-CN",
                                        format: "yyyy-mm-dd",
                                        minView: 2,
                                        autoclose: true,
                                        todayBtn: true,
                                        pickerPosition: "top-left"
                                    });
                        </script>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">地址</div>
                    <div style="padding-left:10px;float:left;">
                        <input type="text" class="form-control tlr-login-input tlr-form-control" ng-model="user.address">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 0px;">
                <div class="device-item background item-font tlr-form-control-layout">
                    <div class="tlr-reg-label">Email</div>
                    <div style="padding-left:10px;float:left;">
                        <input type="mail" class="form-control tlr-login-input tlr-form-control" ng-model="user.email">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 device-item-container" style="margin-top: 8px;">
                <div class="device-item background item-font" style="height:60px;text-align:center;font-size:20px;">
                    <div style="padding-top: 18px;" ng-click="userSave()" ><span class="item-font">保存</span></div>
                </div>
            </div>
        </div>
        <!-- /.row -->
    </div>
</div>